﻿using FactoryLib.abstracts;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FactoryLib.services.NormalFactory
{
    public class NormalFactory : InormalHeroFactory
    {
        private static IHeroProvider _providers = default;
        public void AddProvider(IHeroProvider provider)
        {
            _providers = provider;
        }

        public Ihero CreatHero()
        {
            return _providers.CreatHero();
        }


    }
}
